var express = require("express");
var router = express.Router();

router.post('/api/userinfon',function (req,res) {
  var username = req.body.username;
  var password = req.body.username;
  console.log('username',username);
  console.log('password',password);
  res.send({
    msg: 'success'
  })
})
router.post('/api/verify',function (req,res) {
  var phone = req.body.phone;
  console.log('phone',phone);
  res.send({
    msg: true
  })
})
router.post('/api/regist',function (req,res) {
  var phone = req.body.phone;
  var verifyCode = req.body.verifyCode;
  console.log('phone',phone);
  console.log('verifyCode',verifyCode);
  res.send({
    msg: true
  })
})
















module.exports = router;


